Skip to content

Rename doenetMediaUrl prop to doenetImagesUrl - #46

Merged
dqnykamp merged 1 commit into
Doenet:mainfrom
dqnykamp:rename-doenet-images-url
Jul 13, 2026
Merged

Rename doenetMediaUrl prop to doenetImagesUrl#46
dqnykamp merged 1 commit into
Doenet:mainfrom
dqnykamp:rename-doenet-images-url

Conversation

@dqnykamp

Copy link
Copy Markdown
Member

Mirrors DoenetML#1485, which renamed the doenetMediaUrl prop to doenetImagesUrl (the base URL used to resolve <image source="doenet:…"> references).

Changes

  • Rename the doenetMediaUrl prop to doenetImagesUrl throughout, threading the new name through ActivityViewerViewerActivitySingleDocActivity to each embedded <DoenetViewer>.
  • Bump @doenet/doenetml-iframe 0.7.20-dev.3320.7.20-dev.334, the newest dev version, so the underlying viewer accepts the renamed prop.
  • Update the ActivityViewer.viewerUrls component test to the new prop name.

No deprecation of the old name, since it was never released.

Verification

  • tsc, eslint, and prettier pass on the changed files.
  • The ActivityViewer.viewerUrls cypress component test passes, confirming doenetImagesUrl still forwards end-to-end into the embedded viewer's iframe srcdoc.

🤖 Generated with Claude Code

Mirror DoenetML#1485, which renamed the `doenetMediaUrl` prop (the
`<image source="doenet:…">` resolution base) to `doenetImagesUrl`. Thread
the new name through ActivityViewer → Viewer → Activity → SingleDocActivity
to each embedded `<DoenetViewer>`, and bump @doenet/doenetml-iframe to
0.7.20-dev.334 so the underlying viewer accepts the renamed prop. No
deprecation, as the old name was never released.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dqnykamp
dqnykamp merged commit f63a35d into Doenet:main Jul 13, 2026
4 checks passed
@dqnykamp
dqnykamp deleted the rename-doenet-images-url branch July 13, 2026 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant